<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 <html>
<head>
	<!-- <link type="text/css" rel="stylesheet" href="/stylesheets/main.css" /> -->
    <title>The Living History</title>
</head>

<body>

<div id="body">

	<h1>LH user data</h1>
	<table width="50%" border="1">
		<tr>
			<th>Username</th><th>Full name</th><th>Role</th><th></th><th></th>
		</tr>
	  {% for user_data in user_data_list %}
	    <tr>
		  <td>{{user_data.user.nickname}}</td>
		  <td>{{user_data.name}}</td>
		  <td>{{user_data.role}}</td>
		  <td><a href="/editUserdata/{{user_data.user.nickname}}">Edit</a></td>
		  <td><a href="/deleteUserdata/{{user_data.user.nickname}}">Delete</a></td>
	    </tr>
	  {% endfor %}
	</table>
	
	<p><a href="/addUserdata">Add user data</a></p>
</div>

</body>
</html>